package com.gjy.scala.traits

object Cat extends Animal with Mammal {
  override def suckles(): Unit = {
    println("breastfeed")
  }

  override def eat(): Unit = {
    println("cat eat")
  }

  override def sleep(): Unit = {
    println("cat sleep")
  }

  override def call(): Unit = {
    println("meow")
  }
  state = "sleep"
  def main(args: Array[String]): Unit = {
    println(classification)
    println(state)
    call()
  }
}